package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ StudentcourseModel = (*customStudentcourseModel)(nil)

type (
	// StudentcourseModel is an interface to be customized, add more methods here,
	// and implement the added methods in customStudentcourseModel.
	StudentcourseModel interface {
		studentcourseModel
	}

	customStudentcourseModel struct {
		*defaultStudentcourseModel
	}
)

// NewStudentcourseModel returns a model for the database table.
func NewStudentcourseModel(conn sqlx.SqlConn) StudentcourseModel {
	return &customStudentcourseModel{
		defaultStudentcourseModel: newStudentcourseModel(conn),
	}
}
